home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
MPW Additions
/
Tools
/
MrCpp
/
MrCpp.rsrc
/
STR#_666.txt
< prev
next >
Wrap
Text File
|
1996-05-07
|
7KB
|
189 lines
^^^^^^^^^^^^^
-y directory # write compiler temporary and object files to directory (default:same as source file)
-xi spec # instantiate the specified template
-xa extern # templates are not expanded in the current compilation unit
-xa static # template expansions have static scope (default)
-xa public # template expansions have public scope
-x # continue past the normal maximum error limit (4)
-w n1[,n2…] # suppress the specified warning messages
-w [is]err[or] # treat warnings as errors
-w off # suppress all warnings
-unique_strings # force all string constants to be unique
-u name[,…] # #undef name, where name is a predefined non-ANSI macro name
-u all # #undef all predefined non-ANSI macros
-traceback # generate IBM RS/6000 traceback tables
-target 604 # generate code for PowerPC 604
-target 603 # generate code for PowerPC 603
-target 601 # generate code for PowerPC 601
-target power # generate code for Power architecture
-target ppc | powerpc # generate code for PowerPC architecture
[,alltypes] # generate type information for all types (including unreferenced types)
[,novars] # omit variable information
[,notypes] # omit type information
[,nolines] # omit source line information
-sym on | full # enable generation of symbolic debugging information
-sym off # disable generation of symbolic debugging information (default)
-shared_lib_export off # don't create shared library (default)
-shared_lib_export on # create a shared library and create file that contains entry point list
-som # enable diret-to-SOM
-rtti # enable run-time type information (rtti)
[,pathname…] #
-prefix pathname # #include the specified file(s) prior to reading the first source file.
-p # output progress information to standard output
[,nointer] # as above, but no interprocedural optimizations
[,norep] # as above, but do not repeatedly apply global copy propagation and redundant store elimination
[,unroll] # as above, plus loop unrolling
-opt speed # optimize for speed
-opt size # optimize for size
-opt local # perform local optimizations (default with -sym off)
-opt off # suppress all optimizations (default with -sym on)
-o filename # specify output filename or directory
-notOnce # allow multiple copies of header files
-noMapCR # changes the default mapping of \n to 0x0A and \r to 0x0D
-make filename # generate Make dependency rules into the specified file
-load[c] filename # restore the state of the compilation from the specified file
-ldsize 64 | 128 # determines the size of long doubles (default = 64)
-l filename # generates a listing file to the specified file with line numbers
-j2 # accept two byte sequences for Korean
-j1 # accept two byte sequences for Taiwanese or Chinese
-j0 # accept two byte sequences for Japanese
4 | 5 #
-inline 0 | 1 | 2 | 3 | # sets complexity limit on functions to be inlined.
-inline none | off # inlining of C++ function expansions will be suppressed
-inline on | all # functions are inlined as defined in the C++ source (default)
nosystem # " " " " " " "
nosys | # " " " " " " "
ignoresystem | # " " " " " " "
-inclpath ignoresys | # treat <...> includes exactly like "..." includes
| standard # " " " " " "
-inclpath normal | std # treat <...> includes as system includes
-ieee relaxed | strict # control strict adherence to IEEE floating point semantics
-i pathname[,pathname…] # search for include files in directory specified by pathname
-maf off # " " " "
-fp_contract off # don't generate multiply-add-fused instructions
-maf on # " " " "
-fp_contract on # generate multiply-add-fused instructions (default)
-fatext # add “.ppc.o” extension to object filename instead of “.o”
# (used in conjunction with -shared_lib_export). default: <source filename>.x
-export_list filename # specify the file which contains a list of the shared library's exported entry points
-exceptions # enable exception handling
-enum min # use minimum-sized enumeration types, same as 68K (default unless -ansi strict is on)
-enum int # use int-sized enumeration types
-e # if -l is specified, show macro expansions in listing)
-dump[c] filename # save the state of the compilation in the specified file
-d[efine] name=value # define a preprocessing symbol. Equivalent to #define name value.
-d[efine] name # define a preprocessing symbol. Equivalent to #define name 1.
# and output files. The -y option has precedence over the -currdir option.
-curdir # use current (working) directory for the compiler temporary
-c # Syntax check only. No XCOFF file is generated.
-char unsignedx # treat char type as unsigned, and sign extend the values
-char unsigned # treat char type as unsigned
-char signed # treat char type as signed (default)
-ansifor # limit for-statement declared initializer to the for body
-ansi strict # same as -ansi on, but size of enums is always an int
# in E.T.O./MPW Pro Release Notes for complete list of features and restrictions.)
# “__machdl”, “asm”, and “pascal”. (See MrC and MRCpp chapter
# be recognized: “__handle”, “_inf”, “__nan”, “__nans”,
# store the enum values. The following keywords will not
-ansi on | relaxed # size of enums is determined by minimum size needed to
# Users Guide.)
-ansi off # don't enforce strict ANSI compatibility (see the Symantec C/C++ for MPW
-align mac68k # specify 68K alignment for data structures
-align power # specify power alignment for data structures (default)
MrCpp [options…] file1 [file2]…